package mytomcat.dto;

import java.util.List;

/**
 * @author swc  请求响应 返回的结果信息
 * @date 2020/6/2 0002 下午 16:24
 */
public class  ResultMessage<T> {

    private int code;

    private String message;

    private T recode;

    private List<T> recodes;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getRecode() {
        return recode;
    }

    public void setRecode(T recode) {
        this.recode = recode;
    }

    public List<T> getRecodes() {
        return recodes;
    }

    public void setRecodes(List<T> recodes) {
        this.recodes = recodes;
    }
}
